package com.recharge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.recharge.common.result.ResultDO;
import com.recharge.core.entity.MerchantRepaymentEntity;
import com.recharge.domain.vo.MerchantRepaymentDO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Reagan
 * @since 2020-10-07
 */
public interface MerchantRepaymentService extends IService<MerchantRepaymentEntity> {
    /**
     * 添加临时信用款记录
     * @param domain
     * @return
     */
    public ResultDO add(MerchantRepaymentDO domain);


    /**
     * 获取一条临时信用款记录
     * @param id
     * @return
     */
    public ResultDO get(String id);

    /**
     * 修改临时信用款记录
     * @param domain
     * @return
     */
    public ResultDO edit(MerchantRepaymentDO domain);

    /**
     * 查找临时信用款记录
     * @param domain
     * @return
     */
    public ResultDO find(MerchantRepaymentDO domain);
}
